
M=require("ming_node")
var oss = require('ali-oss');


config={
  accessKeyId: 'LTAI2KwBDCCOCmgc',
  accessKeySecret: 't8R9LyB6GOdKF04u0VqmhXFYtkxIqA',
  bucket: 'intermaxtech',
  region: 'oss-cn-hangzhou',
  ossPath:'config/plcm-vtc-machine',
}


M.ossBaseUrl="https://intermaxtech.oss-cn-hangzhou.aliyuncs.com/config/plcm-vtc-machine/"
M.rootPath="config/plcm-vtc-machine/"

var client  = oss(config);


async function updateOss(k,v){  
  let r1 = await client.put(k, Buffer.from(v)); 
   console.log(r1)
};
  
